﻿using System;
using System.Collections.Generic;

namespace CourseTeaching.WebApi.DBModel;

public partial class User
{
    /// <summary>
    /// 序号
    /// </summary>
    public uint UserId { get; set; }

    /// <summary>
    /// 昵称
    /// </summary>
    public string UserName { get; set; } = null!;

    /// <summary>
    /// 性别
    /// </summary>
    public string Gender { get; set; } = null!;

    /// <summary>
    /// 头像
    /// </summary>
    public string? Image { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    public string? Email { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    public string Password { get; set; } = null!;

    /// <summary>
    /// 盐
    /// </summary>
    public string Salt { get; set; } = null!;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public int? CreateBy { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public int? UpdateBy { get; set; }
}
